//
//  HsLCSexChooseView.h
//  TestIos
//
//  Created by hs on 2020/11/4.
//  Copyright © 2020 Liyadong. All rights reserved.
//  照片选择视图

#import <UIKit/UIKit.h>

#define HsLCSexChooseView_item_H   64

#define HsLCSexChooseView_line_H   0.5

//适配全面屏
#define HsLCSexChooseView_special_item_H   (IS_FullScreenPhone ? (HsLCSexChooseView_item_H + 30) : HsLCSexChooseView_item_H)

#define HsLCSexChooseView_H   (HsLCSexChooseView_item_H * 2 + HsLCSexChooseView_special_item_H + HsLCSexChooseView_line_H * 2)


NS_ASSUME_NONNULL_BEGIN

typedef void(^HsLCSexChooseView_ClickAction)(NSInteger index);

@interface HsLCSexChooseView : UIView

- (HsLCSexChooseView *)createChooseView;

@property (nonatomic, copy) HsLCSexChooseView_ClickAction clickAction;

//1 选择男，2 选中女 其它都不选中
- (void)updateChooseWithIndex:(NSInteger)index;

@end

NS_ASSUME_NONNULL_END
